import Vue from 'vue'
import Router from 'vue-router'
import messageMain from '@/pages/messageMain'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'messageMain',
      component: messageMain
    },
    {
      path: '/notice',
      name: 'noticeList',
      component: () => import('@/pages/noticeList')
    }
  ]
})
